package option

import (
	"google.golang.org/protobuf/proto"

	"gitee.com/hasika/common-server/codec"
	"gitee.com/hasika/gotool/errorx"
)

type IPacketOption interface {
	BuildRspToPacketBytes(uid uint64, nullableReq codec.Packet, replyErr errorx.IError, nullableBody proto.Message, extra any) ([]byte, error) //req可能为空
}
